/****************
 *@description: 常见问题 
 *@author: Xhd
 *@date: 2024-05-07 13:08:50
 *@version: V1.0.0
*************************************************************************/

import React from "react";

// 问题类型分页
export async function apiGetQuestionTypePage(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionType/page', params)
}
// 问题类型列表
export async function apiGetQuestionTypeList(params) {
  return await React.$post('/manage/api/customerServiceQuestionType/list', params)
}
// 新增 / 编辑 问题类型
export async function apiGetQuestionTypeAddOrUpdate(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionType/addOrUpdate', params)
}
// 停用
export async function apiGetQuestionTypeDeactivated(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionType/deactivated', params)
}
// 启用
export async function apiGetQuestionTypeOpen(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionType/open', params)
}
// 删除
export async function apiGetQuestionTypeDelete(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionType/delete', params)
}

// 问题内容分页
export async function apiGetQuestionContentPage(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionContent/page', params)
}
// 新增 / 编辑 问题内容
export async function apiGetQuestionContentAddOrUpdate(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionContent/addOrUpdate', params)
}
// 停用
export async function apiGetQuestionContentDeactivated(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionContent/deactivated', params)
}
// 启用
export async function apiGetQuestionContentOpen(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionContent/open', params)
}
// 删除
export async function apiGetQuestionContentDelete(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionContent/delete', params)
}
// 详情
export async function apiGetQuestionContentViews(params) {
  return await React.$postJson('/manage/api/customerServiceQuestionContent/appQueryFrequentlyAskedContent', params)
}
